Skip to content

nix: maintenance (dependencies, formatting) - #16176

Open
poliorcetics wants to merge 3 commits into
helix-editor:masterfrom
poliorcetics:ab/nix-run-nixfmt/msozlrtnsqps
Open

nix: maintenance (dependencies, formatting)#16176
poliorcetics wants to merge 3 commits into
helix-editor:masterfrom
poliorcetics:ab/nix-run-nixfmt/msozlrtnsqps

Conversation

@poliorcetics

@poliorcetics poliorcetics commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

I made sure not to change behavior (beyond the obvious dependencies updates)

Note: I did not run nixfmt against the test nix queries because they're not intended for semi-regular editing and maintenance the same way the regular nix files are, we don't care as much at all for their formatting


  • nix: run nixfmt

    nixfmt is the official nix formatter.

    It's especially nice if Helix's nix file are formtted with it since it's configured by default in languages.toml so that any call to :fmt on save or manually does not change a lot of unrelated lines.

  • flake: update inputs to latest

  • flake: move nixConfig before outputs

    It's more idiomatic to put it there both for alphanumerical ordering and also to give users a warning that this uses a third-party cache independent of nixpkgs they may (not) want to trust.

It's more idiomatic to put it there both for alphanumerical ordering
and also to give users a warning that this uses a third-party cache
independent of nixpkgs they may (not) want to trust.
[`nixfmt`][1] is the official nix formatter.

It's especially nice if Helix's nix file are formtted with it since it's
configured by default in `languages.toml` so that any call to `:fmt` on
save or manually does not change a lot of unrelated lines.

[1]: https://github.com/NixOS/nixfmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant